package com.caregiver.watch.business.user.model.po;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户联系人表实体类
 */
@Data
public class UserContact {
    /**
     * 主键ID
     */
    private Long id;

    /**
     * 用户ID(所属用户)
     */
    private Long userId;

    /**
     * 联系人姓名
     */
    private String contactName;

    /**
     * 联系电话
     */
    private String phoneNumber;

    /**
     * 联系人头像URL
     */
    private String avatar;

    /**
     * 与用户关系(父子、朋友等)
     */
    private String relationship;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 删除标志(0:正常,1:删除)
     */
    private Integer delFlag;

    /**
     * 备注
     */
    private String remark;

    @Override
    public String toString() {
        return "UserContact{" +
                "id=" + id +
                ", userId=" + userId +
                ", contactName='" + contactName + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", avatar='" + avatar + '\'' +
                ", relationship='" + relationship + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", delFlag=" + delFlag +
                ", remark='" + remark + '\'' +
                '}';
    }
}
